<?php
session_start();
//requerimientos--------------------------------
require '../../../MApache/weblinx/weblinx.php';
require '../Forms/FrmThemes.php';
require("../Classes/Setter.php");


if(isset($_GET['okTheme'])){

	$setter=new Setter("../Config");
	
	$setter->setTheme($_GET['themes']);
	/*
	$messageBox=new MessageBox("../../../weblinx/Images/info.png","Los cambios de aspecto se verán la próxima vez que inicie el sistema SCI","okThemeInfo","ok",array("onclick"=>"GETMethodSend(this.id,'adminContent','../../Events/Admin/EventsFrmThemes.php')"),"cancelThemeInfo","cancel",array("onclick"=>"GETMethodSend(this.id,'adminContent','../../Events/Admin/EventsFrmThemes.php')"));
	$messageBox->setVisible("visible");
	$messageBox->show();
	*/
	
        $frmThemes=new FrmThemes();
	$frmThemes->show();
        
}
else if(isset($_GET['okThemeInfo'])){
	$frmThemes=new FrmThemes();
	$frmThemes->show();
}
else if(isset($_GET['cancelThemeInfo'])){
	$frmThemes=new FrmThemes();
	$frmThemes->show();
}
?>